<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>float test</title>
    <style>
        .thumbnail{
            float:left;
            width: 110px;
            height: 90px;
            margin: 5px;
        }
        .text_line{
            clear: both;
            margin-bottom: 2px;
        }
    </style>
</head>
<body>
    <h3>图片库</h3>
    <p>调整窗口</p>
    <img class="thumbnail" src="../images/klematis2_small.jpg" width="107" height="80">
    <img class="thumbnail" src="../images/klematis2_small.jpg" width="107" height="80">
    <img class="thumbnail" src="../images/klematis2_small.jpg" width="107" height="80">
    <img class="thumbnail" src="../images/klematis2_small.jpg" width="107" height="80">
    <img class="thumbnail" src="../images/klematis2_small.jpg" width="107" height="80">
    <h3 class="text_line">第二行</h3>
    <img class="thumbnail" src="../images/klematis2_small.jpg" width="107" height="80">
    <img class="thumbnail" src="../images/klematis2_small.jpg" width="107" height="80">
    <img class="thumbnail" src="../images/klematis2_small.jpg" width="107" height="80">
    <img class="thumbnail" src="../images/klematis2_small.jpg" width="107" height="80">
</body>
</html>